package com.ruoyi.fs.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 案件还款对象 fs_case_repayment
 * 
 * @author hero
 * @date 2024-11-11
 */
public class FsCaseRepayment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 案件id */
    @Excel(name = "案件id")
    private Long caseId;

    /** 还款金额 */
    @Excel(name = "还款金额")
    private BigDecimal hkje;

    /** 期数 */
    @Excel(name = "期数")
    private Integer qs;

    /** 首次还款日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "首次还款日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date schkr;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date gxsj;

    /** 待审批金额 */
    @Excel(name = "待审批金额")
    private BigDecimal dspje;

    /** 实还金额 */
    @Excel(name = "实还金额")
    private BigDecimal shje;

    /** 所属人 */
    @Excel(name = "所属人")
    private Long ssr;

    private List<FsCaseRepaymentSchedule> hkjhList;

    public List<FsCaseRepaymentSchedule> getHkjhList() {
        return hkjhList;
    }

    public void setHkjhList(List<FsCaseRepaymentSchedule> hkjhList) {
        this.hkjhList = hkjhList;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCaseId(Long caseId) 
    {
        this.caseId = caseId;
    }

    public Long getCaseId() 
    {
        return caseId;
    }
    public void setHkje(BigDecimal hkje) 
    {
        this.hkje = hkje;
    }

    public BigDecimal getHkje() 
    {
        return hkje;
    }
    public void setQs(Integer qs) 
    {
        this.qs = qs;
    }

    public Integer getQs() 
    {
        return qs;
    }
    public void setSchkr(Date schkr) 
    {
        this.schkr = schkr;
    }

    public Date getSchkr() 
    {
        return schkr;
    }
    public void setGxsj(Date gxsj) 
    {
        this.gxsj = gxsj;
    }

    public Date getGxsj() 
    {
        return gxsj;
    }
    public void setDspje(BigDecimal dspje) 
    {
        this.dspje = dspje;
    }

    public BigDecimal getDspje() 
    {
        return dspje;
    }
    public void setShje(BigDecimal shje) 
    {
        this.shje = shje;
    }

    public BigDecimal getShje() 
    {
        return shje;
    }
    public void setSsr(Long ssr) 
    {
        this.ssr = ssr;
    }

    public Long getSsr() 
    {
        return ssr;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("caseId", getCaseId())
            .append("hkje", getHkje())
            .append("qs", getQs())
            .append("schkr", getSchkr())
            .append("gxsj", getGxsj())
            .append("dspje", getDspje())
            .append("shje", getShje())
            .append("ssr", getSsr())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
